/**
 * <copyright>
 *
 * Copyright (c) 2011 Zeligsoft (2009) Limited
 * All rights reserved.   This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors: 
 *   Zeligsoft (2009) Limited - Initial API and implementation
 *
 * </copyright>
 *
 */
package org.omg.deployment;

import org.eclipse.emf.common.util.EList;
import org.omg.xmi.XMI;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Plan Locality</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link org.omg.deployment.PlanLocality#getConstraint <em>Constraint</em>}</li>
 *   <li>{@link org.omg.deployment.PlanLocality#getConstrainedInstance <em>Constrained Instance</em>}</li>
 *   <li>{@link org.omg.deployment.PlanLocality#getConstrainedInstanceRef <em>Constrained Instance Ref</em>}</li>
 * </ul>
 * </p>
 *
 * @see org.omg.deployment.DeploymentPackage#getPlanLocality()
 * @model extendedMetaData="name='PlanLocality' kind='elementOnly'"
 * @generated
 */
public interface PlanLocality extends XMI {
	/**
	 * Returns the value of the '<em><b>Constraint</b></em>' attribute.
	 * The literals are from the enumeration {@link org.omg.deployment.PlanLocalityKind}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Constraint</em>' attribute list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Constraint</em>' attribute.
	 * @see org.omg.deployment.PlanLocalityKind
	 * @see #setConstraint(PlanLocalityKind)
	 * @see org.omg.deployment.DeploymentPackage#getPlanLocality_Constraint()
	 * @model unique="false" transient="true" volatile="true" derived="true"
	 *        extendedMetaData="kind='element' name='constraint' namespace='##targetNamespace' group='#group:0'"
	 * @generated
	 */
	PlanLocalityKind getConstraint();

	/**
	 * Sets the value of the '{@link org.omg.deployment.PlanLocality#getConstraint <em>Constraint</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Constraint</em>' attribute.
	 * @see org.omg.deployment.PlanLocalityKind
	 * @see #getConstraint()
	 * @generated
	 */
	void setConstraint(PlanLocalityKind value);

	/**
	 * Returns the value of the '<em><b>Constrained Instance</b></em>' containment reference list.
	 * The list contents are of type {@link org.omg.deployment.InstanceDeploymentDescription}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Constrained Instance</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Constrained Instance</em>' containment reference list.
	 * @see org.omg.deployment.DeploymentPackage#getPlanLocality_ConstrainedInstance()
	 * @model containment="true" transient="true" volatile="true" derived="true"
	 *        extendedMetaData="kind='element' name='constrainedInstance' namespace='##targetNamespace' group='#group:0'"
	 * @generated
	 */
	EList<InstanceDeploymentDescription> getConstrainedInstance();

	/**
	 * Returns the value of the '<em><b>Constrained Instance Ref</b></em>' reference list.
	 * The list contents are of type {@link org.omg.deployment.InstanceDeploymentDescription}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Constrained Instance Ref</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Constrained Instance Ref</em>' reference list.
	 * @see org.omg.deployment.DeploymentPackage#getPlanLocality_ConstrainedInstanceRef()
	 * @model transient="true" changeable="false" volatile="true" derived="true"
	 * @generated
	 */
	EList<InstanceDeploymentDescription> getConstrainedInstanceRef();

} // PlanLocality
